From 666129093bee6d907ef763324835209e4416ff10 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Thu, 20 May 2021 11:24:10 +0200 Subject: [PATCH] d/rules: Prefer stdlibc (iconv) setting over ICU Reduce the number of dependencies by removing usage of ICU, since stdlibc (iconv) can be used directly from the libc.6. DCMTK currently recommend usage of libiconv for support of all CharacterSet as found in DICOM. Since libiconv is not provided in Debian, fallback to reduced support of CharacterSet from stdlib (iconv). See discussion at Bug #988644#25 --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index 1920e1ca..210cd878 100755 --- a/debian/rules +++ b/debian/rules @@ -39,6 +39,7 @@ CMAKE_EXTRA_FLAGS += -DCMAKE_BUILD_TYPE:STRING=None \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_INSTALL_DATADIC:STRING=share/libdcmtk16 \ -DCMAKE_SKIP_RPATH:BOOL=OFF \ + -DDCMTK_ENABLE_CHARSET_CONVERSION:STRING='stdlibc (iconv)' \ -DCMAKE_CXX_STANDARD:STRING=14 override_dh_auto_configure: -- 2.30.2